package com.cr.admin.business.banner.service;

import com.cr.admin.business.banner.pojo.entity.Banner;
import com.cr.admin.business.banner.pojo.param.BannerAddParam;
import com.cr.admin.business.banner.pojo.param.BannerUpdateParam;
import com.cr.admin.business.banner.pojo.query.BannerQuery;
import com.cr.admin.business.topic.pojo.entity.Topic;

import java.util.List;

public interface BannerService {
    List<Banner> list(BannerQuery bannerQuery);

    void insert(BannerAddParam bannerAddParam);

    void updateById(BannerUpdateParam bannerUpdateParam);

    Banner selectById(Long id);

    void deleteByIds(List<Long> ids);
}
